package com.joysuch.wwyt.api.dataaccess.bean;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author ZhaoQiuWei
 * @Date 2022/6/6 11:06
 */
@Data
public class OrientationV3AlarmBean implements Serializable {

    //企业信用代码
//    private String socialCreditCode;
    //报警ID
    private String uuid;
    //报警时间
    private Long time;
    //alarm 代表报警、alarm:handle 代表报警已处理
    private String type;
    //报警信息
    private String alarmInfo;
    //工号
    private String codeInfo;

    //sn
    private String sn;

    //人员名称
    private String realName;

    //报警类型
    private String alarmType;
    //报警位置
    private String alarmLocation;
    //报警位置
    private List<OrientationV3RailBean> rails;

    //处理信息
    private String handleInfo;
    //处理时间
    private Long handleTime;

    private String orgCode;

    private Long tenentId;

    private String buildId;

    private Long uId;

    private String subTypeName;

    private String jobNumber;

    private String serialNumber;

    private String processInstanceId;

    @Override
    public String toString() {
        return "OrientationV3AlarmBean{" +
                "uuid='" + uuid + '\'' +
                ", time=" + time +
                ", type='" + type + '\'' +
                ", alarmInfo='" + alarmInfo + '\'' +
                ", codeInfo='" + codeInfo + '\'' +
                ", sn='" + sn + '\'' +
                ", realName='" + realName + '\'' +
                ", alarmType='" + alarmType + '\'' +
                ", alarmLocation='" + alarmLocation + '\'' +
                ", rails=" + rails +
                ", orgCode='" + orgCode + '\'' +
                ", tenentId=" + tenentId +
                ", buildId='" + buildId + '\'' +
                '}';
    }

}
